export default {
  // 仓库
  state: {
    menuList: [
      {
        id: '1',
        menuName: '用户管理',
        icon: 'el-icon-user',
        path: 'user',
        children: [
          {
            id: '11',
            icon: 'el-icon-s-fold',
            menuName: '用户列表',
            path: 'userlist'
          }
        ]
      },
      {
        id: '2',
        icon: 'el-icon-s-order',
        menuName: '题库管理',
        path: 'mst',
        children: [
          {
            id: '23',
            icon: 'el-icon-s-order',
            menuName: '面试题类型',
            path: '/mstsel'
          },
          {
            id: '21',
            icon: 'el-icon-s-order',
            menuName: '面试题列表',
            path: '/mstinfo'
          },
          {
            id: '22',
            icon: 'el-icon-s-order',
            menuName: '面试题列表',
            path: '/mstauther'
          }
        ]
      },
      {
        id: '3',
        icon: '',
        menuName: '用户管理',
        path: '/test',
        children: [
          {
            id: '31',
            icon: '',
            menuName: '用户列表',
            path: '/testlist'
          }
        ]
      }
    ]
  },
  // 获取数据
  getters: {
    menuList (state) {
      return state.menuList
    }
  },
  // 修改数据
  mutations: {
  },
  // 业务逻辑
  actions: {
  },
  // 模块
  modules: {}
}
